package com.sdy.sso.biz.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.sdy.mvc.service.impl.BaseServiceImpl;
import com.sdy.sso.biz.mapper.SysApplicationMapper;
import com.sdy.sso.biz.model.SysApplication;
import com.sdy.sso.biz.service.SysApplicationService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author fb
 * @since 2020/3/23
 */
@Slf4j
@Service
public class SysApplicationServiceImpl extends BaseServiceImpl<SysApplication> implements SysApplicationService {

    @Override
    public List<SysApplication> getApplicationUrl(String appCode) {
        return list(new QueryWrapper<SysApplication>().eq("code", appCode));
    }
}
